﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000569 RID: 1385
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FightMatch3OpponentDataScNotify : IMessage<FightMatch3OpponentDataScNotify>, IMessage, IEquatable<FightMatch3OpponentDataScNotify>, IDeepCloneable<FightMatch3OpponentDataScNotify>, IBufferMessage
	{
		// Token: 0x170011C7 RID: 4551
		// (get) Token: 0x06003E32 RID: 15922 RVA: 0x000AADE3 File Offset: 0x000A8FE3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FightMatch3OpponentDataScNotify> Parser
		{
			get
			{
				return FightMatch3OpponentDataScNotify._parser;
			}
		}

		// Token: 0x170011C8 RID: 4552
		// (get) Token: 0x06003E33 RID: 15923 RVA: 0x000AADEA File Offset: 0x000A8FEA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FightMatch3OpponentDataScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170011C9 RID: 4553
		// (get) Token: 0x06003E34 RID: 15924 RVA: 0x000AADFC File Offset: 0x000A8FFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FightMatch3OpponentDataScNotify.Descriptor;
			}
		}

		// Token: 0x06003E35 RID: 15925 RVA: 0x000AAE03 File Offset: 0x000A9003
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightMatch3OpponentDataScNotify()
		{
		}

		// Token: 0x06003E36 RID: 15926 RVA: 0x000AAE0C File Offset: 0x000A900C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightMatch3OpponentDataScNotify(FightMatch3OpponentDataScNotify other) : this()
		{
			this.state_ = other.state_;
			this.kBNIFCHMAOB_ = other.kBNIFCHMAOB_;
			this.fCLNEEKGEJF_ = other.fCLNEEKGEJF_;
			this.scoreId_ = other.scoreId_;
			this.hp_ = other.hp_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003E37 RID: 15927 RVA: 0x000AAE6C File Offset: 0x000A906C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightMatch3OpponentDataScNotify Clone()
		{
			return new FightMatch3OpponentDataScNotify(this);
		}

		// Token: 0x170011CA RID: 4554
		// (get) Token: 0x06003E38 RID: 15928 RVA: 0x000AAE74 File Offset: 0x000A9074
		// (set) Token: 0x06003E39 RID: 15929 RVA: 0x000AAE7C File Offset: 0x000A907C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EOFOHACMKEP State
		{
			get
			{
				return this.state_;
			}
			set
			{
				this.state_ = value;
			}
		}

		// Token: 0x170011CB RID: 4555
		// (get) Token: 0x06003E3A RID: 15930 RVA: 0x000AAE85 File Offset: 0x000A9085
		// (set) Token: 0x06003E3B RID: 15931 RVA: 0x000AAE8D File Offset: 0x000A908D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint KBNIFCHMAOB
		{
			get
			{
				return this.kBNIFCHMAOB_;
			}
			set
			{
				this.kBNIFCHMAOB_ = value;
			}
		}

		// Token: 0x170011CC RID: 4556
		// (get) Token: 0x06003E3C RID: 15932 RVA: 0x000AAE96 File Offset: 0x000A9096
		// (set) Token: 0x06003E3D RID: 15933 RVA: 0x000AAE9E File Offset: 0x000A909E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FCLNEEKGEJF
		{
			get
			{
				return this.fCLNEEKGEJF_;
			}
			set
			{
				this.fCLNEEKGEJF_ = value;
			}
		}

		// Token: 0x170011CD RID: 4557
		// (get) Token: 0x06003E3E RID: 15934 RVA: 0x000AAEA7 File Offset: 0x000A90A7
		// (set) Token: 0x06003E3F RID: 15935 RVA: 0x000AAEAF File Offset: 0x000A90AF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ScoreId
		{
			get
			{
				return this.scoreId_;
			}
			set
			{
				this.scoreId_ = value;
			}
		}

		// Token: 0x170011CE RID: 4558
		// (get) Token: 0x06003E40 RID: 15936 RVA: 0x000AAEB8 File Offset: 0x000A90B8
		// (set) Token: 0x06003E41 RID: 15937 RVA: 0x000AAEC0 File Offset: 0x000A90C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Hp
		{
			get
			{
				return this.hp_;
			}
			set
			{
				this.hp_ = value;
			}
		}

		// Token: 0x06003E42 RID: 15938 RVA: 0x000AAEC9 File Offset: 0x000A90C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FightMatch3OpponentDataScNotify);
		}

		// Token: 0x06003E43 RID: 15939 RVA: 0x000AAED8 File Offset: 0x000A90D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FightMatch3OpponentDataScNotify other)
		{
			return other != null && (other == this || (this.State == other.State && this.KBNIFCHMAOB == other.KBNIFCHMAOB && this.FCLNEEKGEJF == other.FCLNEEKGEJF && this.ScoreId == other.ScoreId && this.Hp == other.Hp && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003E44 RID: 15940 RVA: 0x000AAF54 File Offset: 0x000A9154
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.State != EOFOHACMKEP.Match3PlayerStateAlive)
			{
				num ^= this.State.GetHashCode();
			}
			if (this.KBNIFCHMAOB != 0U)
			{
				num ^= this.KBNIFCHMAOB.GetHashCode();
			}
			if (this.FCLNEEKGEJF != 0U)
			{
				num ^= this.FCLNEEKGEJF.GetHashCode();
			}
			if (this.ScoreId != 0U)
			{
				num ^= this.ScoreId.GetHashCode();
			}
			if (this.Hp != 0U)
			{
				num ^= this.Hp.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003E45 RID: 15941 RVA: 0x000AAFFD File Offset: 0x000A91FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003E46 RID: 15942 RVA: 0x000AB005 File Offset: 0x000A9205
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003E47 RID: 15943 RVA: 0x000AB010 File Offset: 0x000A9210
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.State != EOFOHACMKEP.Match3PlayerStateAlive)
			{
				output.WriteRawTag(8);
				output.WriteEnum((int)this.State);
			}
			if (this.Hp != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.Hp);
			}
			if (this.FCLNEEKGEJF != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.FCLNEEKGEJF);
			}
			if (this.ScoreId != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.ScoreId);
			}
			if (this.KBNIFCHMAOB != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.KBNIFCHMAOB);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003E48 RID: 15944 RVA: 0x000AB0BC File Offset: 0x000A92BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.State != EOFOHACMKEP.Match3PlayerStateAlive)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.State);
			}
			if (this.KBNIFCHMAOB != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.KBNIFCHMAOB);
			}
			if (this.FCLNEEKGEJF != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FCLNEEKGEJF);
			}
			if (this.ScoreId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ScoreId);
			}
			if (this.Hp != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Hp);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003E49 RID: 15945 RVA: 0x000AB15C File Offset: 0x000A935C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FightMatch3OpponentDataScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.State != EOFOHACMKEP.Match3PlayerStateAlive)
			{
				this.State = other.State;
			}
			if (other.KBNIFCHMAOB != 0U)
			{
				this.KBNIFCHMAOB = other.KBNIFCHMAOB;
			}
			if (other.FCLNEEKGEJF != 0U)
			{
				this.FCLNEEKGEJF = other.FCLNEEKGEJF;
			}
			if (other.ScoreId != 0U)
			{
				this.ScoreId = other.ScoreId;
			}
			if (other.Hp != 0U)
			{
				this.Hp = other.Hp;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003E4A RID: 15946 RVA: 0x000AB1E8 File Offset: 0x000A93E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003E4B RID: 15947 RVA: 0x000AB1F4 File Offset: 0x000A93F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 32U)
				{
					if (num == 8U)
					{
						this.State = (EOFOHACMKEP)input.ReadEnum();
						continue;
					}
					if (num == 32U)
					{
						this.Hp = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 64U)
					{
						this.FCLNEEKGEJF = input.ReadUInt32();
						continue;
					}
					if (num == 104U)
					{
						this.ScoreId = input.ReadUInt32();
						continue;
					}
					if (num == 120U)
					{
						this.KBNIFCHMAOB = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040018A7 RID: 6311
		private static readonly MessageParser<FightMatch3OpponentDataScNotify> _parser = new MessageParser<FightMatch3OpponentDataScNotify>(() => new FightMatch3OpponentDataScNotify());

		// Token: 0x040018A8 RID: 6312
		private UnknownFieldSet _unknownFields;

		// Token: 0x040018A9 RID: 6313
		public const int StateFieldNumber = 1;

		// Token: 0x040018AA RID: 6314
		private EOFOHACMKEP state_;

		// Token: 0x040018AB RID: 6315
		public const int KBNIFCHMAOBFieldNumber = 15;

		// Token: 0x040018AC RID: 6316
		private uint kBNIFCHMAOB_;

		// Token: 0x040018AD RID: 6317
		public const int FCLNEEKGEJFFieldNumber = 8;

		// Token: 0x040018AE RID: 6318
		private uint fCLNEEKGEJF_;

		// Token: 0x040018AF RID: 6319
		public const int ScoreIdFieldNumber = 13;

		// Token: 0x040018B0 RID: 6320
		private uint scoreId_;

		// Token: 0x040018B1 RID: 6321
		public const int HpFieldNumber = 4;

		// Token: 0x040018B2 RID: 6322
		private uint hp_;
	}
}
